/***************************************************************
Made by: Cultured::Labs

Copyright (c) 2011 Cultured::Labs
****************************************************************/
#include "nextenemy.h"

bool nextEnemy(Spaceship player, int &flag) {
  bool player_win = false;

  //hostile spaceships
  Spaceship enemy0("The little Fighter", 15, 0, 2);
  Spaceship enemy1("The Jeff", 20, 5, 5);

  switch (flag) {
  case 0:
    player_win = battle(player, enemy0);
    break;
  case 1:
    player_win = battle(player, enemy1);
    break;
  default:
    std::cout << "[***-Error!-***]" << std::endl;
  }

  flag++;
  return player_win;
}
